<extend name="Base/base" />
<block name='head'>
    <meta charset="utf-8">
    <!--<link href="/Public/Index/css/workflow.css" rel="stylesheet" />--> 
</block>
<block name="content" > 
    <div class="banner_top">
        <div class="banner_work">
            <div class="Unknotted_left">
                <a href="{:U('Diary/lists')}">
                    <h2>{$diaryCount|default=0}</h2>
                    <p>我的日志</p>
                    <span>点击查看</span>
                </a>
            </div>
            <div class="Completed_rigth">
                <a href="{:U('Diary/weeklyList')}">
                    <h2>{$weeklyCount|default=0}</h2>
                    <p>我的周报</p>
                    <span>点击查看</span>
                </a>
            </div>
        </div>
    </div>
    <!--top结束-->
    <div class="user_lists">
        <h3>工作日志</h3>
        <ul>            
            <li class="border"><a href="{:U('Diary/addDiary')}"><P><img src="/Public/Index/img/icon_001.png"/><span>新建日志</span></P></a></li>
            <li class="border"><a href="{:U('Diary/lists')}"><P><img src="/Public/Index/img/icon_002.png"/><span>我的日志</span></P></a></li>
            <if condition="$privNo lt 40 and $privNo gt 2">
                <li class="border"><a href="{:U('Diary/userLists')}"><P><img src="/Public/Index/img/icon_005.png"/><span>日志查询</span></P></a></li>
            <elseif condition="$privNo elt 2"/>
                <li class="border"><a href="{:U('Diary/diaryDeptLists')}"><P><img src="/Public/Index/img/icon_005.png"/><span>日志查询</span></P></a></li>
            </if>
        </ul>
    </div>
    <div class="user_lists">
        <h3>工作周报</h3>
        <ul>            
            <li class="border"><a href="{:U('Diary/saveWeekly')}"><P><img src="/Public/Index/img/icon_003.png"/><span>新建周报</span></P></a></li>
            <li class="border"><a href="{:U('Diary/weeklyList')}"><P><img src="/Public/Index/img/icon_004.png"/><span>我的周报</span></P></a></li>
            <if condition="$privNo lt 40 and $privNo gt 2">
                <li class="border"><a href="{:U('Diary/weeklyUserLists')}"><P><img src="/Public/Index/img/icon_006.png"/><span>周报查询</span></P></a></li>
            <elseif condition="$privNo elt 2"/>
                <li class="border"><a href="{:U('Diary/weeklyDeptLists')}"><P><img src="/Public/Index/img/icon_006.png"/><span>周报查询</span></P></a></li>
            </if>
        </ul>
    </div>
</block>
<block name="script">
    <script type="text/javascript">
        
    </script>
</block>
